package com.proxy.autoclick.clicker.valueobject;

import java.io.Serializable;

public class KeywordAddress implements Serializable{
	
	private static final long serialVersionUID = -5092316375835856370L;
	private String keyword;
	private String Address;
	
	public KeywordAddress(String line)
	{
		String split [] = line.split(",");
		if(split.length < 2)
			throw new RuntimeException("Leng of data should be greater than 1");
		this.keyword = split[0];
		this.Address = split[1];
	}
	
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String getAddress() {
		return Address;
	}
	public void setAddress(String address) {
		Address = address;
	}

}
